package com.superatom.springframework.core.type.classreading;

import com.superatom.springframework.core.annotation.AnnotationAttributes;
import com.superatom.springframework.core.annotation.AnnotationUtils;
import com.superatom.springframework.lang.Nullable;

/**
 * @author Kwokchiu Wong
 * @Title:
 * @Package
 * @Description:
 * @date 2020/10/19 10:49 上午
 */
class RecursiveAnnotationAttributesVisitor extends AbstractRecursiveAnnotationVisitor {

    protected final String annotationType;


    public RecursiveAnnotationAttributesVisitor(
            String annotationType, AnnotationAttributes attributes, @Nullable ClassLoader classLoader) {

        super(classLoader, attributes);
        this.annotationType = annotationType;
    }


    @Override
    public void visitEnd() {
        AnnotationUtils.registerDefaultValues(this.attributes);
    }

}
